using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using Mirror;

public class SHowUI : NetworkBehaviour
{
    public Text ip;
    public Text port;
    public Text Scenename;

    // Start is called before the first frame update
    private void Start()
    {
        if (isServer)
        {
            ip.text = GameManager.Instance().GameServer_IP;
            port.text = GameManager.Instance().GameServer_Port.ToString();
            Scenename.text = GameManager.Instance().GameServer_SceneName;
        }
        else
        {
            ip.text = "";
            port.text = "";
            Scenename.text = "";
        }
    }
}